/**
 * output package name
 */
package com.kingdee.eas.lms.purchase.stock;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class StateEnum extends StringEnum
{
    public static final String ADDNEW_VALUE = "7";
    public static final String SAVE_VALUE = "1";
    public static final String EDIT_VALUE = "2";
    public static final String SUBMIT_VALUE = "3";
    public static final String AUDIT_VALUE = "4";
    public static final String CANCLEAUDIT_VALUE = "5";
    public static final String NOAUDIT_VALUE = "6";
    public static final String CLOSE_VALUE = "8";
    public static final String INVALID_VALUE = "9";
    public static final String CANCEL_VALUE = "10";
    public static final String CANCELCANCEL_VALUE = "11";
    public static final String TRANSFER_VALUE = "12";
    public static final String RECEIVED_VALUE = "13";

    public static final StateEnum AddNew = new StateEnum("AddNew", ADDNEW_VALUE);
    public static final StateEnum Save = new StateEnum("Save", SAVE_VALUE);
    public static final StateEnum Edit = new StateEnum("Edit", EDIT_VALUE);
    public static final StateEnum Submit = new StateEnum("Submit", SUBMIT_VALUE);
    public static final StateEnum Audit = new StateEnum("Audit", AUDIT_VALUE);
    public static final StateEnum CancleAudit = new StateEnum("CancleAudit", CANCLEAUDIT_VALUE);
    public static final StateEnum NoAudit = new StateEnum("NoAudit", NOAUDIT_VALUE);
    public static final StateEnum Close = new StateEnum("Close", CLOSE_VALUE);
    public static final StateEnum invalid = new StateEnum("invalid", INVALID_VALUE);
    public static final StateEnum Cancel = new StateEnum("Cancel", CANCEL_VALUE);
    public static final StateEnum CancelCancel = new StateEnum("CancelCancel", CANCELCANCEL_VALUE);
    public static final StateEnum Transfer = new StateEnum("Transfer", TRANSFER_VALUE);
    public static final StateEnum Received = new StateEnum("Received", RECEIVED_VALUE);

    /**
     * construct function
     * @param String stateEnum
     */
    private StateEnum(String name, String stateEnum)
    {
        super(name, stateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static StateEnum getEnum(String stateEnum)
    {
        return (StateEnum)getEnum(StateEnum.class, stateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(StateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(StateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(StateEnum.class);
    }
}